mips-force-nomadd4
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 25 Dec 2025 16:38:13 +0000 (17:38 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 25 Dec 2025 16:38:13 +0000 (17:38 +0100)
commitdb587bbbb4e68e14ea9aa9f5978abe0f8e57a604
treeef647a2f8f61bef53c7aa3fdd59c125cf61678d4
parent90647da515069341525e49ae44e4630ef097d452
mips-force-nomadd4

The MIPS port aims to support the Loongson 3 family of CPUs in addition
of the other MIPS CPUs. On the Loongson 3 family the MADD4 instructions
are fused, while they are not fused on the other MIPS CPUs. In order to
support both, we have to disabled those instructions.

For that, the patch below basically corresponds to the --with-madd4=no
used on the GCC side.

Gbp-Pq: Topic mips
Gbp-Pq: Name mips-force-nomadd4.patch
clang/lib/Basic/Targets/Mips.h